home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 398 / 398.xpi / chrome / forecastfox.jar / content / options / options.xul < prev    next >
Extensible Markup Language  |  2010-02-04  |  26KB  |  482 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--****************************************************************************
  4.   Copyright (c) 2008 Ensolis, LLC. All Rights Reserved.
  5.   ***************************************************************************-->
  6. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  7. <?xml-stylesheet href="chrome://forecastfox/content/bindings.css" type="text/css"?>
  8. <?xml-stylesheet href="chrome://forecastfox/skin/forecastfox.css" type="text/css"?> 
  9.  
  10. <!DOCTYPE window SYSTEM "chrome://forecastfox/locale/forecastfox.dtd">
  11.  
  12. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         id="ff-options"
  14.         windowtype="forecastfox:options"
  15.         persist="screenX, screenY"
  16.         screenX="10" screenY="10"
  17.         oncommand="updateButtons(event);"
  18.         oninput="updateButtons(event);"
  19.         onload="optionsLoad(); sizeToContent();"
  20.         onunload="optionsUnload();"
  21.         title="&ff.options.title;">
  22.         
  23.   <script type="application/x-javascript" src="chrome://forecastfox/content/utilities/helpers.js"/>
  24.   <script type="application/x-javascript" src="chrome://forecastfox/content/options/options.js"/>
  25.  
  26.   <stringbundleset>
  27.     <stringbundle id="ff-bundle-options" src="chrome://forecastfox/locale/forecastfox.properties"/>
  28.   </stringbundleset>
  29.  
  30.   <keyset id="ff-keys">
  31.     <key keycode="VK_ESCAPE" oncommand="window.close();"/>
  32.   </keyset>
  33.  
  34.   <ffheader type="complex" headeralign="center">
  35.     <label value="&ff.options.profs.current;" control="ff-list-profs"/>
  36.     <hbox flex="1" align="center">
  37.       <menulist id="ff-list-profs" flex="1" oncommand="gOptions.selectProfile(this);">
  38.         <menupopup id="ff-popup-profs" flex="1"/>
  39.       </menulist>
  40.       <button id="ff-btn-create" class="ff-button" label="&ff.options.profs.create;" oncommand="window.openDialog('chrome://forecastfox/content/profiles/profiles.xul', 'profiles', 'chrome, modal', 'create');"/>
  41.       <button id="ff-btn-rename" class="ff-button" label="&ff.options.profs.rename;" oncommand="window.openDialog('chrome://forecastfox/content/profiles/profiles.xul', 'profiles', 'chrome, modal', 'rename');"/>
  42.       <button id="ff-btn-delete" class="ff-button" label="&ff.options.profs.delete;" oncommand="window.openDialog('chrome://forecastfox/content/profiles/profiles.xul', 'profiles', 'chrome, modal', 'remove');"/>
  43.     </hbox>
  44.   </ffheader>
  45.  
  46.   <hbox id="ff-options-content" class="ff-content" flex="1">
  47.     <listbox id="ff-list-pages" onselect="gOptions.switchPage(this);">
  48.       <listitem label="&ff.options.general;"/>
  49.       <listitem label="&ff.options.swa;"/>
  50.       <listitem label="&ff.options.radar;"/>
  51.       <listitem label="&ff.options.hbh;"/>
  52.       <listitem label="&ff.options.fiveday;"/>
  53.       <listitem label="&ff.options.cc;"/>
  54.       <listitem label="&ff.options.dayt;"/>
  55.       <listitem label="&ff.options.dayf;"/>
  56.       <listitem label="&ff.options.profs;"/>
  57.       <listitem label="&ff.options.links;"/>
  58.       <listitem label="&ff.options.icons;"/>
  59.     </listbox>
  60.     <deck id="ff-deck-pages" flex="10">
  61.       <vbox id="ff-page-general" flex="1">
  62.         <groupbox orient="horizontal" align="center">
  63.           <caption label="&ff.options.general.location;"/>
  64.           <label value="&ff.options.general.code;" control="ff-text-code"/>
  65.           <textbox id="ff-text-code" flex="1" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gOptions.accept(true);" onfocus="this.select()"/>
  66.           <button id="ff-btn-code" label="&ff.options.general.findcode;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/search.xul', 'search', 'chrome, modal, resizable');"/>
  67.         </groupbox>
  68.         <groupbox>
  69.           <caption label="&ff.options.general.units;"/>
  70.           <hbox  align="center">
  71.             <radiogroup id="ff-group-units" orient="horizontal">          
  72.               <radio group="units" label="&ff.options.general.units.a;" value="0"/>
  73.               <radio group="units" label="&ff.options.general.units.m;" value="1"/> 
  74.             </radiogroup>
  75.           </hbox>
  76.         </groupbox>
  77.         <groupbox>
  78.           <caption label="&ff.options.general.placement;"/>
  79.           <grid>
  80.             <columns>
  81.               <column/>
  82.               <column flex="3"/>
  83.             </columns>
  84.             <rows>
  85.               <row align="center">
  86.                 <label value="&ff.options.general.toolbar;"/>
  87.                 <menulist id="ff-list-bars" oncommand="gOptions.populatePositions();">
  88.                   <menupopup id="ff-popup-bars"/>
  89.                 </menulist>
  90.               </row>
  91.               <radiogroup id="ff-group-position">
  92.                 <row align="center">
  93.                   <radio group="position" label="&ff.options.general.last;" value="-1"/>
  94.                   <spacer flex="1"/>
  95.                 </row>
  96.                 <row align="center">
  97.                   <radio group="position" label="&ff.options.general.specific;" value="0"/>
  98.                   <hbox align="center">    
  99.                     <textbox id="ff-text-position" size="2" maxlength="3" oninput="gOptions.validate()" onfocus="this.select()" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gOptions.accept(true);" />
  100.                     <label id="ff-text-position-valid" class="valid-label"/>
  101.                   </hbox>
  102.                 </row>
  103.               </radiogroup>
  104.             </rows>
  105.           </grid>
  106.         </groupbox>
  107.       </vbox>
  108.       <vbox id="ff-page-swa" flex="1">
  109.         <groupbox orient="horizontal" align="center">
  110.           <caption>
  111.             <checkbox id="ff-chk-swa-panel" label="&ff.options.panel;"/>
  112.           </caption>         
  113.           <label value="&ff.options.display;" control="ff-list-swa-panel-display"/>
  114.           <menulist id="ff-list-swa-panel-display" flex="1">
  115.             <menupopup id="ff-popup-swa-panel-display" flex="1">
  116.               <menuitem label="&ff.options.icon;" value="0"/>
  117.               <menuitem label="&ff.options.label;" value="1"/>
  118.               <menuitem label="&ff.options.both;" value="2"/>
  119.             </menupopup>
  120.           </menulist>
  121.           <button id="ff-btn-swa-panel-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['swa.panel.label']);"/>
  122.         </groupbox>
  123.         <groupbox orient="horizontal" align="center">
  124.           <caption>
  125.             <checkbox id="ff-chk-swa-tooltip" label="&ff.options.tooltip;"/>
  126.           </caption>         
  127.           <label value="&ff.options.display;" control="ff-list-swa-tooltip-display"/>
  128.           <menulist id="ff-list-swa-tooltip-display" flex="1">
  129.             <menupopup id="ff-popup-swa-tooltip-display" flex="1">
  130.               <menuitem label="&ff.options.icon;" value="0"/>
  131.               <menuitem label="&ff.options.label;" value="1"/>
  132.               <menuitem label="&ff.options.both;" value="2"/>
  133.             </menupopup>
  134.           </menulist>
  135.           <button id="ff-btn-swa-tooltip-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['swa.tooltip.title', 'swa.tooltip.label']);"/>
  136.         </groupbox>
  137.         <groupbox id="swa-slider">
  138.           <caption>
  139.             <checkbox id="ff-chk-swa-slider" label="&ff.options.slider;"/>
  140.           </caption>
  141.           <hbox  align="center">
  142.             <label value="&ff.options.swa.slider.pre;"/>
  143.             <textbox id="ff-text-swa-slider" maxlength="3" size="2" oninput="gOptions.validate()" onfocus="this.select()" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gOptions.accept(true);" />
  144.             <label value="&ff.options.swa.slider.post;"/>
  145.             <label id="ff-text-swa-slider-valid" class="valid-label"/>
  146.           </hbox>
  147.           <hbox  align="center">       
  148.             <label value="&ff.options.display;" control="ff-list-swa-slider-display"/>
  149.             <menulist id="ff-list-swa-slider-display" flex="1">
  150.               <menupopup id="ff-popup-swa-slider-display" flex="1">
  151.                 <menuitem label="&ff.options.icon;" value="0"/>
  152.                 <menuitem label="&ff.options.label;" value="1"/>
  153.                 <menuitem label="&ff.options.both;" value="2"/>
  154.               </menupopup>
  155.             </menulist>
  156.             <button id="ff-btn-swa-slider-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['swa.slider.title', 'swa.slider.label']);"/>
  157.           </hbox>
  158.         </groupbox>
  159.       </vbox>
  160.       <vbox id="ff-page-radar" flex="1">
  161.         <groupbox orient="horizontal" align="center">
  162.           <caption>
  163.             <checkbox id="ff-chk-radar-panel" label="&ff.options.panel;"/>
  164.           </caption>         
  165.           <label value="&ff.options.display;" control="ff-list-radar-panel-display"/>
  166.           <menulist id="ff-list-radar-panel-display" flex="1">
  167.             <menupopup id="ff-popup-radar-panel-display" flex="1">
  168.               <menuitem label="&ff.options.icon;" value="0"/>
  169.               <menuitem label="&ff.options.label;" value="1"/>
  170.               <menuitem label="&ff.options.both;" value="2"/>
  171.             </menupopup>
  172.           </menulist>
  173.           <button id="ff-btn-radar-panel-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['radar.panel.label']);"/>
  174.         </groupbox>
  175.         <groupbox orient="horizontal" align="center">
  176.           <caption>
  177.             <checkbox id="ff-chk-radar-tooltip" label="&ff.options.tooltip;"/>
  178.           </caption>         
  179.           <label value="&ff.options.display;" control="ff-list-radar-tooltip-display"/>
  180.           <menulist id="ff-list-radar-tooltip-display" flex="1">
  181.             <menupopup id="ff-popup-radar-tooltip-display" flex="1">
  182.               <menuitem label="&ff.options.icon;" value="0"/>
  183.               <menuitem label="&ff.options.label;" value="1"/>
  184.               <menuitem label="&ff.options.both;" value="2"/>
  185.             </menupopup>
  186.           </menulist>
  187.           <button id="ff-btn-radar-tooltip-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['radar.tooltip.title', 'radar.tooltip.label']);"/>
  188.         </groupbox>
  189.       </vbox>
  190.       <vbox id="ff-page-hbh" flex="1">
  191.         <groupbox orient="horizontal" align="center">
  192.           <caption>
  193.             <checkbox id="ff-chk-hbh-panel" label="&ff.options.panel;"/>
  194.           </caption>         
  195.         </groupbox>
  196.       </vbox>
  197.       <vbox id="ff-page-fiveday" flex="1">
  198.         <groupbox orient="horizontal" align="center">
  199.           <caption>
  200.             <checkbox id="ff-chk-fiveday-panel" label="&ff.options.panel;"/>
  201.           </caption>         
  202.         </groupbox>
  203.       </vbox>
  204.       <vbox id="ff-page-cc" flex="1">
  205.         <groupbox orient="horizontal" align="center">
  206.           <caption>
  207.             <checkbox id="ff-chk-cc-panel" label="&ff.options.panel;"/>
  208.           </caption>         
  209.           <label value="&ff.options.display;" control="ff-list-cc-panel-display"/>
  210.           <menulist id="ff-list-cc-panel-display" flex="1">
  211.             <menupopup id="ff-popup-cc-panel-display" flex="1">
  212.               <menuitem label="&ff.options.icon;" value="0"/>
  213.               <menuitem label="&ff.options.label;" value="1"/>
  214.               <menuitem label="&ff.options.both;" value="2"/>
  215.             </menupopup>
  216.           </menulist>
  217.           <button id="ff-btn-cc-panel-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['cc.panel.label']);"/>
  218.         </groupbox>
  219.         <groupbox orient="horizontal" align="center">
  220.           <caption>
  221.             <checkbox id="ff-chk-cc-tooltip" label="&ff.options.tooltip;"/>
  222.           </caption>         
  223.           <label value="&ff.options.display;" control="ff-list-cc-tooltip-display"/>
  224.           <menulist id="ff-list-cc-tooltip-display" flex="1">
  225.             <menupopup id="ff-popup-cc-tooltip-display" flex="1">
  226.               <menuitem label="&ff.options.icon;" value="0"/>
  227.               <menuitem label="&ff.options.label;" value="1"/>
  228.               <menuitem label="&ff.options.both;" value="2"/>
  229.             </menupopup>
  230.           </menulist>
  231.           <button id="ff-btn-cc-tooltip-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['cc.tooltip.title', 'cc.tooltip.label']);"/>
  232.         </groupbox>
  233.         <groupbox id="cc-slider">
  234.           <caption>
  235.             <checkbox id="ff-chk-cc-slider" label="&ff.options.slider;"/>
  236.           </caption>
  237.           <hbox  align="center">
  238.             <label value="&ff.options.cc.slider.pre;"/>
  239.             <textbox id="ff-text-cc-slider" maxlength="3" size="2" oninput="gOptions.validate()" onfocus="this.select()" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gOptions.accept(true);" />
  240.             <label value="&ff.options.cc.slider.post;"/>
  241.             <label id="ff-text-cc-slider-valid" class="valid-label"/>
  242.           </hbox>
  243.           <hbox  align="center">       
  244.             <label value="&ff.options.display;" control="ff-list-cc-slider-display"/>
  245.             <menulist id="ff-list-cc-slider-display" flex="1">
  246.               <menupopup id="ff-popup-cc-slider-display" flex="1">
  247.                 <menuitem label="&ff.options.icon;" value="0"/>
  248.                 <menuitem label="&ff.options.label;" value="1"/>
  249.                 <menuitem label="&ff.options.both;" value="2"/>
  250.               </menupopup>
  251.             </menulist>
  252.             <button id="ff-btn-cc-slider-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['cc.slider.title', 'cc.slider.label']);"/>
  253.           </hbox>
  254.         </groupbox>
  255.       </vbox>
  256.         <vbox id="ff-page-dayt" flex="1">
  257.         <groupbox>
  258.           <caption>
  259.             <checkbox id="ff-chk-dayt-panel" label="&ff.options.panel;"/>
  260.           </caption>
  261.           <grid>
  262.             <columns>
  263.               <column/>
  264.               <column flex="1"/>
  265.             </columns>
  266.             <rows>
  267.               <row align="center">
  268.                 <label value="&ff.options.mode;"/>
  269.                 <menulist id="ff-list-dayt-panel-mode" flex="1">
  270.                   <menupopup id="ff-popup-dayt-panel-mode" flex="1">
  271.                     <menuitem label="&ff.options.day;" value="0"/>
  272.                     <menuitem label="&ff.options.night;" value="1"/>
  273.                     <menuitem label="&ff.options.modeboth;" value="2"/>
  274.                   </menupopup>
  275.                 </menulist>
  276.               </row>
  277.               <row align="center">
  278.                 <label value="&ff.options.display;"/>
  279.                 <hbox align="center">       
  280.                   <menulist id="ff-list-dayt-panel-display" flex="1">
  281.                     <menupopup id="ff-popup-dayt-panel-display" flex="1">
  282.                       <menuitem label="&ff.options.icon;" value="0"/>
  283.                       <menuitem label="&ff.options.label;" value="1"/>
  284.                       <menuitem label="&ff.options.both;" value="2"/>
  285.                     </menupopup>
  286.                   </menulist>
  287.                   <button id="ff-btn-dayt-panel-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['dayt.panel.label']);"/>
  288.                 </hbox>
  289.               </row>
  290.             </rows>
  291.           </grid>
  292.         </groupbox>
  293.         <groupbox orient="horizontal" align="center">
  294.           <caption>
  295.             <checkbox id="ff-chk-dayt-tooltip" label="&ff.options.tooltip;"/>
  296.           </caption>         
  297.           <label value="&ff.options.display;" control="ff-list-dayt-tooltip-display"/>
  298.           <menulist id="ff-list-dayt-tooltip-display" flex="1">
  299.             <menupopup id="ff-popup-dayt-tooltip-display" flex="1">
  300.               <menuitem label="&ff.options.icon;" value="0"/>
  301.               <menuitem label="&ff.options.label;" value="1"/>
  302.               <menuitem label="&ff.options.both;" value="2"/>
  303.             </menupopup>
  304.           </menulist>
  305.           <button id="ff-btn-dayt-tooltip-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['dayt.tooltip.title', 'dayt.tooltip.label']);"/>
  306.         </groupbox>
  307.         <groupbox>
  308.           <caption label="&ff.options.dayt.switch.lbl;"/>
  309.           <seperator class="thin"/>
  310.           <description>&ff.options.dayt.switch.desc;</description>
  311.           <hbox align="center"> 
  312.             <label value="&ff.options.display;"/>
  313.             <menulist id="ff-list-dayt-switch" flex="1">
  314.               <menupopup id="ff-popup-dayt-switch" flex="1">
  315.                 <menuitem label="&ff.options.dayt.switch.0;" value="0"/>
  316.                 <menuitem label="&ff.options.dayt.switch.1;" value="1"/>
  317.                 <menuitem label="&ff.options.dayt.switch.2;" value="2"/>
  318.               </menupopup>
  319.             </menulist>
  320.           </hbox> 
  321.         </groupbox>
  322.         </vbox>
  323.       <vbox id="ff-page-dayf" flex="1">
  324.        <groupbox>
  325.           <caption>
  326.             <checkbox id="ff-chk-dayf-panel" label="&ff.options.panel;"/>
  327.           </caption>
  328.           <hbox align="center">
  329.             <label value="&ff.options.dayf.days;"/>
  330.             <textbox id="ff-text-dayf-days" maxlength="2" size="1" oninput="gOptions.validate()" onfocus="this.select()" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gOptions.accept(true);" />
  331.             <label id="ff-text-dayf-days-valid" class="valid-label"/>
  332.           </hbox>
  333.           <grid>
  334.             <columns>
  335.               <column/>
  336.               <column flex="1"/>
  337.             </columns>
  338.             <rows>
  339.               <row align="center">
  340.                 <label value="&ff.options.mode;"/>
  341.                 <menulist id="ff-list-dayf-panel-mode" flex="1">
  342.                   <menupopup id="ff-popup-dayf-panel-mode" flex="1">
  343.                     <menuitem label="&ff.options.day;" value="0"/>
  344.                     <menuitem label="&ff.options.night;" value="1"/>
  345.                     <menuitem label="&ff.options.modeboth;" value="2"/>
  346.                   </menupopup>
  347.                 </menulist>
  348.               </row>
  349.               <row align="center">
  350.                 <label value="&ff.options.display;"/>
  351.                 <hbox align="center">       
  352.                   <menulist id="ff-list-dayf-panel-display" flex="1">
  353.                     <menupopup id="ff-popup-dayf-panel-display" flex="1">
  354.                       <menuitem label="&ff.options.icon;" value="0"/>
  355.                       <menuitem label="&ff.options.label;" value="1"/>
  356.                       <menuitem label="&ff.options.both;" value="2"/>
  357.                     </menupopup>
  358.                   </menulist>
  359.                   <button id="ff-btn-dayf-panel-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['dayf.panel.label']);"/>
  360.                 </hbox>
  361.               </row>
  362.             </rows>
  363.           </grid>
  364.         </groupbox>
  365.         <groupbox orient="horizontal" align="center">
  366.           <caption>
  367.             <checkbox id="ff-chk-dayf-tooltip" label="&ff.options.tooltip;"/>
  368.           </caption>         
  369.           <label value="&ff.options.display;" control="ff-list-dayf-tooltip-display"/>
  370.           <menulist id="ff-list-dayf-tooltip-display" flex="1">
  371.             <menupopup id="ff-popup-dayf-tooltip-display" flex="1">
  372.               <menuitem label="&ff.options.icon;" value="0"/>
  373.               <menuitem label="&ff.options.label;" value="1"/>
  374.               <menuitem label="&ff.options.both;" value="2"/>
  375.             </menupopup>
  376.           </menulist>
  377.           <button id="ff-btn-dayf-tooltip-display" label="&ff.options.customize;" class="ff-button" oncommand="window.openDialog('chrome://forecastfox/content/options/labels.xul', 'labels', 'chrome, modal, resizable', ['dayf.tooltip.title', 'dayf.tooltip.label']);"/>
  378.         </groupbox>
  379.       </vbox>
  380.       <vbox id="ff-page-profs" flex="1">
  381.         <groupbox orient="horizontal" align="center">
  382.           <caption>
  383.             <checkbox id="ff-chk-profs-rotate" label="&ff.options.profs.rotate;"/>
  384.           </caption>  
  385.           <label value="&ff.options.profs.rotate.pre;"/>
  386.           <textbox id="ff-text-profs-rotate" maxlength="4" size="3" oninput="gOptions.validate()" onfocus="this.select()" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gOptions.accept(true);" />
  387.           <label value="&ff.options.profs.rotate.post;"/>
  388.           <label id="ff-text-profs-rotate-valid" class="valid-label"/>
  389.         </groupbox>
  390.         <groupbox orient="horizontal" align="center">
  391.           <caption label="&ff.options.profs.impexp;"/>
  392.           <button id="import_settings" label="&ff.options.profs.import;" flex="1" oncommand="gOptions.importDOM();"/>
  393.           <button id="export_settings" label="&ff.options.profs.export;" flex="1" oncommand="gOptions.exportDOM();"/>
  394.         </groupbox>
  395.       </vbox>
  396.       <vbox id="ff-page-links" flex="1">
  397.         <groupbox orient="horizontal" align="center">
  398.           <caption label="&ff.options.type.panel;"/>
  399.           <label value="&ff.options.links.phrase;"/>
  400.           <menulist id="ff-list-links-panel" flex="1">
  401.             <menupopup id="ff-popup-links-panel" flex="1">
  402.               <menuitem label="&ff.options.links.current;" value="current"/>
  403.               <menuitem label="&ff.options.links.tab;" value="tab"/>
  404.               <menuitem label="&ff.options.links.tabshifted;" value="tabshifted"/>
  405.               <menuitem label="&ff.options.links.window;" value="window"/>
  406.             </menupopup>
  407.           </menulist>
  408.         </groupbox>
  409.         <groupbox orient="horizontal" align="center">
  410.           <caption label="&ff.options.type.context;"/>
  411.           <label value="&ff.options.links.phrase;"/>
  412.           <menulist id="ff-list-links-context" flex="1">
  413.             <menupopup id="ff-popup-links-context" flex="1">
  414.               <menuitem label="&ff.options.links.current;" value="current"/>
  415.               <menuitem label="&ff.options.links.tab;" value="tab"/>
  416.               <menuitem label="&ff.options.links.tabshifted;" value="tabshifted"/>
  417.               <menuitem label="&ff.options.links.window;" value="window"/>
  418.             </menupopup>
  419.           </menulist>
  420.         </groupbox>
  421.         <groupbox orient="horizontal" align="center">
  422.           <caption label="&ff.options.type.alert;"/>
  423.           <label value="&ff.options.links.phrase;"/>
  424.           <menulist id="ff-list-links-alert" flex="1">
  425.             <menupopup id="ff-popup-links-alert" flex="1">
  426.               <menuitem label="&ff.options.links.current;" value="current"/>
  427.               <menuitem label="&ff.options.links.tab;" value="tab"/>
  428.               <menuitem label="&ff.options.links.tabshifted;" value="tabshifted"/>
  429.               <menuitem label="&ff.options.links.window;" value="window"/>
  430.             </menupopup>
  431.           </menulist>
  432.         </groupbox>
  433.         <groupbox orient="horizontal" align="center">
  434.           <caption label="&ff.options.type.dialog;"/>
  435.           <label value="&ff.options.links.phrase;"/>
  436.           <menulist id="ff-list-links-dialog" flex="1">
  437.             <menupopup id="ff-popup-links-dialog" flex="1">
  438.               <menuitem label="&ff.options.links.current;" value="current"/>
  439.               <menuitem label="&ff.options.links.tab;" value="tab"/>
  440.               <menuitem label="&ff.options.links.tabshifted;" value="tabshifted"/>
  441.               <menuitem label="&ff.options.links.window;" value="window"/>
  442.             </menupopup>
  443.           </menulist>
  444.         </groupbox>
  445.       </vbox>
  446.       <vbox id="ff-page-icons" flex="1">
  447.         <listbox id="ff-list-icons" onselect="gOptions.iconSelect();" ondblclick="gOptions.iconSet();" rows="7"/> 
  448.         <hbox align="center">
  449.           <label control="ff-link-icon-author" value="&ff.options.icons.author;"/>
  450.           <fflink id="ff-link-icon-author" from="dialog"/>       
  451.           <spacer flex="1"/> 
  452.           <label control="ff-lbl-icon-version" value="&ff.options.icons.version;"/>
  453.           <label id="ff-lbl-icon-version" value=""/>
  454.         </hbox>
  455.         <separator class="thin"/>       
  456.         <hbox align="center" class="inset">
  457.           <spacer flex="1"/>
  458.           <image id="ff-preview-image" src="chrome://forecastfox/skin/images/preview.png"/>
  459.           <spacer flex="1"/>
  460.         </hbox>         
  461.         <separator class="thin"/>
  462.         <hbox align="center">
  463.           <button id="ff-btn-icons-install" label="&ff.options.icons.install;" class="ff-button" oncommand="gOptions.iconInstall();"/>
  464.           <button id="ff-btn-icons-uninstall" disabled="true" label="&ff.options.icons.uninstall;" class="ff-button" oncommand="gOptions.iconUninstall();"/>        
  465.           <button id="ff-btn-icons-select" disabled="true" label="&ff.options.icons.select;" class="ff-button" oncommand="gOptions.iconSet();"/>  
  466.           <spacer flex="1"/>
  467.           <fflink id="ff-link-more" label="&ff.options.icons.site;" tooltiptext="&ff.options.icons.url;" href="&ff.options.icons.url;" from="dialog"/>
  468.         </hbox>                
  469.       </vbox>    
  470.     </deck>
  471.   </hbox>
  472.  
  473.   <hbox id="ff-options-footer" class="ff-footer" align="center">
  474.     <label value="&ff.providedby;"/>
  475.     <fflink label="&acw.site;" tooltiptext="&acw.tooltip;" href="&acw.main;" partner="true" from="dialog"/>
  476.     <spacer class="ff-btnspacer" flex="1"/>
  477.     <button label="&ff.ok;" default="true" class="ff-button" oncommand="gOptions.accept(true);"/> 
  478.     <button label="&ff.cancel;" class="ff-button" oncommand="window.close();"/> 
  479.     <button label="&ff.apply;" id="apply" class="ff-button" disabled="true" oncommand="gOptions.accept(false);"/>
  480.   </hbox>
  481. </window>
  482.